@space: 24px;
@border_light: #4e5154;

.modalDefault() {
  :global {
    .ant-modal-content {
      .ant-modal-header {
        padding-top: 18px;
        padding-bottom: 0;
        border-bottom: 0;
      }

      .ant-modal-body {
        padding: @space;
      }

      .ant-modal-footer {
        padding: @space;
        padding-top: 0;
        border-top: 0;
      }

      .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
        margin-left: 16px;
      }

      .ant-input-affix-wrapper {
        // border: 1px solid @border_light;
        border-radius: 5px;
      }

      .ant-btn {
        border-radius: 5px;
      }

      // .ant-btn-primary {
      //   background: #18a0fb;
      //   border-color: #18a0fb;
      // }
    }
  }
}

.modal {
  .modalDefault();

  .titleDiv {
    display: flex;
    flex-direction: row;
    align-items: center;

    .titleLogo {
      width: 30px;
      height: 30px;
      margin-right: 10px;
    }

    .title {
      font-weight: 500;
      font-size: 18px;
      font-family: PingFang SC;
      line-height: 18px;
      letter-spacing: 0;
      text-align: left;
    }
  }

  .container {
    display: flex;
    width: 100%;
    height: 328px;
    overflow: hidden;
    border: 1px solid var(--bd);
    border-radius: 4px;

    .left,
    .right {
      display: flex;
      flex: 1;
      flex-direction: column;
      padding: 16px;
      overflow: hidden;
    }

    .left {
      border-right: 1px solid var(--bd);

      .content {
        flex: 1;
        margin-top: 12px;
        overflow: hidden;
        outline: none;

        div {
          outline: none;
        }

        .checkboxGroup {
          display: flex;
          flex: 1;
          flex-direction: column;
          margin-top: 10px;

          .item {
            .info {
              .mobile,
              .email {
                display: flex;
                align-items: center;
                color: #888e95;
                font-size: 12px;
                line-height: 22px;

                .logo {
                  width: 13px;
                  margin-right: 5px;
                }
              }
            }
          }
        }
      }
    }

    .right {
      .rightTop {
        display: flex;
        align-items: center;
        justify-content: space-between;

        .clear {
          cursor: pointer;
        }
      }

      .content {
        flex: 1;
        margin-top: 12px;
        overflow: hidden;
        outline: none;

        div {
          outline: none;
        }

        .item {
          .name {
            display: flex;
            justify-content: space-between;

            .close {
              display: inline-block;
              margin-right: 5px;
              margin-left: 12px;
              color: inherit;
              font-style: normal;
              line-height: 0;
              text-align: center;
              text-transform: none;
              vertical-align: -0.125em;
              cursor: pointer;
              text-rendering: optimizeLegibility;
              -webkit-font-smoothing: antialiased;
            }
          }

          .info {
            .mobile,
            .email {
              display: flex;
              align-items: center;
              color: #888e95;
              font-size: 12px;
              line-height: 22px;

              .logo {
                width: 13px;
                margin-right: 5px;
              }
            }
          }
        }
      }
    }
  }
}
